<html>
	<head>
		<title>GEO Protected Areas and Assessment Monitoring Pilot</title>
		
		<style type="text/css">
			#loading-mask {	position:absolute; left:0; top:0; width:100%; height:100%;	z-index:20000; background-color:white; }
			#loading { position:absolute;	left:43%; top:40%; padding:2px; z-index:20002; height:auto; }
			#loading img { margin-bottom:5px; }
			#loading .loading-indicator{ background:white; color:#555;	font:bold 13px tahoma,arial,helvetica; padding:10px;	margin:0;	text-align:center; height:auto;	}
		</style>
	</head>	
		
	<body>
		<div id="loading-mask"></div>
    <div id="loading">
      <div class="loading-indicator"><img src="resources/images/gbif.jpg" style="margin-right:8px;" align="absmiddle"/><br/><img src="resources/images/default/grid/loading.gif" style="margin-right:6px;" align="absmiddle"/><span id="loading-msg">Loading (GPAAMP)...</span></div>
    </div>
		
    <link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="resources/css/xtheme-gray.css" />
    
    <link rel="stylesheet" type="text/css" href="resources/ext/TriStateNodeUI.css" />
    <link rel="stylesheet" type="text/css" href="resources/ext/TreeCheckbox.css" />
    <link rel="stylesheet" type="text/css" href="resources/css/style.css" />
    
    <script type="text/javascript" src="resources/ext/ext-base.js"></script>
    <script type="text/javascript" src="resources/ext/ext-all.js"></script>
    
    <script src="http://www.openlayers.org/api/2.10/OpenLayers.js"></script>
    <script type="text/javascript" src="config.js"></script>
    
    <script type="text/javascript" src="resources/ext/GBIF.GeoSpatial.Notice.js"></script>
    <script type="text/javascript" src="resources/ext/CheckboxSelectionModel.js"></script>
    
    <script type="text/javascript" src="resources/ext/ext.ux.datatip.js"></script>
    
    <script type="text/javascript" src="resources/ext/GBIF.GeoSpatial.CopyLink.js"></script>
    <script type="text/javascript" src="resources/ext/TreeCheckbox.js"></script>
    <script type="text/javascript" src="resources/ext/TriStateNodeUI.js"></script>
    <script type="text/javascript" src="resources/ext/GBIF.GeoSpatial.GeoRSS.js"></script>
    <script type="text/javascript" src="resources/ext/GBIF.GeoSpatial.SelectFeature.js"></script>
    <script type="text/javascript" src="resources/ext/GBIF.GeoSpatial.RemoveFeature.js"></script>
    <script type="text/javascript" src="resources/geoext/script/GeoExt.js"></script>
    <script type="text/javascript" src="resources/js/GBIF.GeoSpatial.Language.js"></script>
    <script type="text/javascript" src="resources/js/GBIF.GeoSpaital.LayersTree.js"></script>
		<script type="text/javascript" src="resources/js/GBIF.GeoSpaital.MappingLayers.js"></script>
		<script type="text/javascript" src="resources/js/datapanel/GBIF.GeoSpatial.GeoRssKmlDataPanel.js"></script>
		<script type="text/javascript" src="resources/js/datapanel/GBIF.GeoSpatial.Console.js"></script>
		<script type="text/javascript" src="resources/js/datapanel/GBIF.GeoSpatial.DataGrid.js"></script>
		<script type="text/javascript" src="resources/js/datapanel/GBIF.GeoSpatial.LegendPanel.js"></script>
		<script type="text/javascript" src="resources/js/datapanel/GBIF.GeoSpatial.FeatureDataGrid.js"></script>
		
		<script type="text/javascript" src="resources/js/GBIF.GeoSpatial.TabManager.js"></script>
		<script type="text/javascript" src="resources/js/GBIF.GeoSpatial.AvailableLayersTree.js"></script>
		<script type="text/javascript" src="resources/js/GBIF.GeoSpatial.GeoMapPanel.js"></script>
		<script type="text/javascript" src="resources/js/GBIF.GeoSpatial.CenterPanel.js"></script>
		<script type="text/javascript" src="resources/js/GBIF.GeoSpatial.Container.js"></script>
		<script type="text/javascript" src="resources/js/GBIF.GeoSpatial.GeoSpatialPortal.js"></script>
		
		<script type="text/javascript">
			var addthis_config = {
				ui_use_embeddable_services: true
			}
		</script>
		
		<script type="text/javascript" src="resources/js/application.js"></script>

	<?php
	if (isset($_REQUEST['lang'])) {
		print '<script type="text/javascript" src="resources/language/GBIF.GeoSpatial-lang-' . $_REQUEST['lang'] . '.js"></script>';
	} else {
		print '<script type="text/javascript" src="resources/language/GBIF.GeoSpatial-lang-en.js"></script>';
	}?>

	</body>
</html>